package com.unidue.foguing.task_B.pipeline;

import org.apache.uima.fit.factory.AnalysisEngineFactory;
import org.apache.uima.fit.factory.CollectionReaderFactory;
import org.apache.uima.fit.pipeline.SimplePipeline;

import com.unidue.foguing.evaluator.Evaluator;
import com.unidue.foguing.task_B.BaseLine_TaskB;
import com.unidue.foguing.task_B.Reader_TaskB;

public class PipeLine {

	public static void main(String[] args) throws Exception{
		SimplePipeline.runPipeline(
				CollectionReaderFactory.createReader(
						Reader_TaskB.class, Reader_TaskB.INPUT_FILE, "src/test/resources/test/tweeti-b-dist.txt"
						),
						AnalysisEngineFactory.createEngineDescription(BaseLine_TaskB.class),
						AnalysisEngineFactory.createEngineDescription(Evaluator.class));
						
	}

}
